home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Password.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
758b
|
45 lines
[SUBJECT]
Description=Inserts a password (minimum security) in your HTML document
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- begin script
;function checkPswd(ext) {
; if ((document.pswdForm.pswd.value == null) || (document.pswdForm.pswd.value == ''))
; alert('`alert`');
; else this.location.href = document.pswdForm.pswd.value + ext;
;}
;// end script -->
;</scripT>
;
[BODY_TEXT]
;<form name="pswdForm">
;<input type="password" name="pswd" size="`size`" maxlength="40">
;<input type="button" value="Ok" onClick="checkPswd('`file_extension`')">
;</form>
;
[`file_extension`]
Kind=S
Value=.html
[`alert`]
Kind=S
Value=Invalid password.
[`size`]
Kind=N
Value=24